home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / NET.HL_ / net.hlp
Encoding:
Text (UTF-16)  |  2003-02-21  |  100.0 KB  |  1,127 lines

  1. /*Copyright (c) 1991-1993 Microsoft Corporation
  2.  
  3. Module Name:
  4.  
  5.     net.hlp
  6.  
  7. Abstract:
  8.  
  9.     This file contains the help text used by the net command.  It is used
  10.     as is by the net command (e.g. it isn't "built" into some other form).
  11.  
  12. Environment:
  13.  
  14.     User Mode - Win32
  15.     Portable to any flat, 32-bit environment.  (Uses Win32 typedefs.)
  16.     Requires ANSI C extensions: slash-slash comments.
  17.  
  18. Notes:
  19.  
  20.     You will find the documentation on how this file is formatted at the end
  21.     of this file.
  22.  
  23. --*/
  24.  
  25. %A CONTINUE:     CONT
  26. %A FILE:     FILES
  27. %A GROUP:     GROUPS
  28. %A REPLICATOR: REPL, REPLICATOR
  29. %A SESSION:     SESSIONS, SESS
  30. %A STATISTICS:     STATS
  31. %A USER:     USERS
  32. %A WORKSTATION:     REDIRECTOR, REDIR, RDR, WORK, WKSTA, PRDR, DEVRDR
  33. %A MESSENGER:     MSG, RECEIVER, RCV
  34. %A SERVER:     SVR,  SRV
  35.  
  36. !C NET
  37. !C NAMES
  38. !C SYNTAX
  39. !C SERVICES
  40.  
  41. .1 SERVICES
  42. :1 
  43.  
  44.    NET START can be used to start services, including:
  45.  
  46.       NET START ALERTER                      
  47.       NET START BROWSER             
  48.       NET START CLIENT SERVICE FOR NETWARE  
  49.       NET START CLIPBOOK               
  50.       NET START DHCP CLIENT
  51.       NET START EVENTLOG
  52.       NET START FILE REPLICATION
  53.       NET START MESSENGER                    
  54.       NET START NET LOGON                    
  55.       NET START NT LM SECURITY SUPPORT PROVIDER
  56.       NET START PLUG AND PLAY
  57.       NET START REMOTE ACCESS CONNECTION MANAGER
  58.       NET START ROUTING AND REMOTE ACCESS
  59.       NET START RPCLOCATOR
  60.       NET START RPCSS
  61.       NET START SCHEDULE
  62.       NET START SERVER
  63.       NET START SPOOLER
  64.       NET START TCP/IP NETBIOS HELPER SERVICE
  65.       NET START UPS
  66.       NET START WORKSTATION
  67.  
  68.    When typed at the command prompt, service names of two words or more must
  69.    be enclosed in quotation marks. For example, NET START "NET LOGON"
  70.    starts the net logon service.
  71. #1
  72. $1 There are no options for this topic. This topic is a list of 
  73.    some services that can be started. It is not a NET command.
  74.  
  75. .1 SYNTAX
  76. :1
  77.  
  78.    The following conventions are used to indicate command syntax:
  79.  
  80.    -  Capital letters represent words that must be typed as shown. Lower-
  81.       case letters represent names of items that may vary, such as filenames.
  82.  
  83.    -  The [ and ] characters surround optional items that can be supplied
  84.       with the command.
  85.  
  86.    -  The { and } characters surround lists of items. You must supply one
  87.       of the items with the command.
  88.  
  89.    -  The | character separates items in a list. Only one of the items can
  90.       be supplied with the command.
  91.  
  92.       For example, in the following syntax, you must type NET COMMAND and
  93.       either SWITCH1 or SWITCH2. Supplying a name is optional.
  94.           NET COMMAND [name] {SWITCH1 | SWITCH2}
  95.  
  96.    -  The [...] characters mean you can repeat the previous item.
  97.       Separate items with spaces.
  98.  
  99.    -  The [,...] characters mean you can repeat the previous item, but
  100.       you must separate items with commas or semicolons, not spaces.
  101.  
  102.    -  When typed at the command prompt, service names of two words or 
  103.       more must be enclosed in quotation marks. For example, 
  104.       NET START "COMPUTER BROWSER" starts the computer browser service.
  105. #1
  106. $1 There are no options for this topic. This topic is about how to
  107.    read syntax lines. It is not a NET command.
  108.  
  109. .1 NET
  110. .2     ACCOUNTS
  111. :2              [/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length]
  112.                 [/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days]
  113.                 [/UNIQUEPW:number] [/DOMAIN]
  114.  
  115. #2 NET ACCOUNTS updates the user accounts database and modifies password 
  116.    and logon requirements for all accounts. 
  117.    When used without options, NET ACCOUNTS displays the current settings for
  118.    password, logon limitations, and domain information.
  119.  
  120.    Two conditions are required in order for options used with 
  121.    NET ACCOUNTS to take effect:
  122.  
  123.    þ  The password and logon requirements are only effective if user 
  124.       accounts have been set up (use User Manager or the NET USER command).
  125.  
  126.    þ  The Net Logon service must be running on all servers in the domain 
  127.       that verify logon. Net Logon is started automatically when Windows 
  128.       starts.
  129.  
  130.    /FORCELOGOFF:{minutes | NO}   Sets the number of minutes a user has 
  131.                                  before being forced to log off when the 
  132.                                  account expires or valid logon hours expire.
  133.                                  NO, the default, prevents forced logoff.
  134.    /MINPWLEN:length              Sets the minimum number of characters for
  135.                                  a password. The range is 0-14 characters;
  136.                                  the default is 6 characters.
  137.    /MAXPWAGE:{days | UNLIMITED}  Sets the maximum number of days that a 
  138.                                  password is valid. No limit is specified
  139.                                  by using UNLIMITED. /MAXPWAGE can't be less 
  140.                                  than /MINPWAGE. The range is 1-999; the 
  141.                                  default is to leave the value unchanged.
  142.    /MINPWAGE:days                Sets the minimum number of days that must 
  143.                                  pass before a user can change a password. 
  144.                                  A value of 0 sets no minimum time. The range 
  145.                                  is 0-999; the default is 0 days. /MINPWAGE 
  146.                                  can't be more than /MAXPWAGE.
  147.    /UNIQUEPW:number              Requires that a user's passwords be unique 
  148.                                  through the specified number of password 
  149.                                  changes. The maximum value is 24.
  150.    /DOMAIN                       Performs the operation on a domain
  151.                                  controller of the current domain. Otherwise,
  152.                                  the operation is performed on the local 
  153.                                  computer.
  154.  
  155.                                  
  156.    NET HELP command | MORE displays Help one screen at a time.
  157. $2 
  158.    NET HELP ACCOUNTS describes the options for this command.
  159. .2     COMPUTER
  160. :2              \\computername {/ADD | /DEL}
  161. #2   NET COMPUTER adds or deletes computers from a domain database. This 
  162.      command is available only on Windows NT Servers.
  163.  
  164.    \\computername    Specifies the computer to add or delete from
  165.                      the domain.
  166.    /ADD              Adds the specified computer to the domain.
  167.    /DEL              Removes the specified computer from the domain.
  168. $2 
  169.    NET HELP COMPUTER describes the options for this command.
  170. .2     CONFIG
  171. .3            SERVER
  172. :3                   [/AUTODISCONNECT:time]
  173.                      [/SRVCOMMENT:"text"]
  174.                      [/HIDDEN:{YES | NO}]
  175. #3 NET CONFIG SERVER displays or changes settings for the Server service.
  176.  
  177.    /AUTODISCONNECT:time    Sets the maximum number of minutes a user's 
  178.                            session can be inactive before it is disconnected.
  179.                            You can specify -1 to never disconnect. The range 
  180.                            is -1-65535 minutes; the default is 15. 
  181.    /SRVCOMMENT:"text"      Adds a comment for the server that is displayed in
  182.                            Windows Screens and with the NET VIEW command. 
  183.                            Enclose the text in quotation marks. 
  184.    /HIDDEN:{YES | NO}      Specifies whether the server's computername 
  185.                            appears on display listings of servers. Note that
  186.                            hiding a server does not alter the permissions 
  187.                            on that server. The default is NO. 
  188.  
  189.    To display the current configuration for the Server service, 
  190.    type NET CONFIG SERVER without parameters.
  191.  
  192.    NET HELP command | MORE displays Help one screen at a time.
  193.  
  194. $3
  195.  
  196.    NET HELP CONFIG SERVER describes the options for this command.
  197.  
  198. :2            [SERVER | WORKSTATION]
  199. #2 NET CONFIG displays configuration information of the Workstation or 
  200.    Server service. When used without the SERVER or WORKSTATION switch, 
  201.    it displays a list of configurable services. To get help with 
  202.    configuring a service, type NET HELP CONFIG service.
  203.  
  204.    SERVER        Displays information about the configuration of 
  205.                  the Server service.
  206.    WORKSTATION   Displays information about the configuration of 
  207.                  the Workstation service.
  208.  
  209.    NET HELP command | MORE displays Help one screen at a time.
  210. $2
  211.  
  212.    NET HELP CONFIG describes the options for this command.
  213. .2     CONTINUE
  214. :2              service
  215.  
  216. #2 NET CONTINUE reactivates a Windows service that has been 
  217.    suspended by NET PAUSE.
  218.  
  219.    service             Is the paused service.
  220.                        For example, one of the following:
  221.                        NET LOGON
  222.                        NT LM SECURITY SUPPORT PROVIDER
  223.                        SCHEDULE
  224.                        SERVER
  225.                        WORKSTATION
  226.  
  227.    NET HELP command | MORE displays Help one screen at a time.
  228. $2        
  229.  
  230.    NET HELP CONTINUE describes the options for this command.
  231. .2     FILE
  232. :2          [id [/CLOSE]]
  233. #2 NET FILE closes a shared file and removes file locks. When used without
  234.    options, it lists the open files on a server. The listing includes the
  235.    identification number assigned to an open file, the pathname of the file,
  236.    the username, and the number of locks on the file. 
  237.  
  238.    This command works only on computers running the Server service.
  239.  
  240.    id      Is the identification number of the file.
  241.    /CLOSE  Closes an open file and removes file locks. Type this command 
  242.            from the server where the file is shared.
  243.  
  244.    NET HELP command | MORE displays Help one screen at a time.
  245. $2        
  246.  
  247.    NET HELP FILE describes the options for this command.
  248. .2     GROUP
  249. :2           [groupname [/COMMENT:"text"]] [/DOMAIN]
  250.              groupname {/ADD [/COMMENT:"text"] | /DELETE}  [/DOMAIN]
  251.              groupname username [...] {/ADD | /DELETE} [/DOMAIN]
  252. #2 NET GROUP adds, displays, or modifies global groups on servers. Used 
  253.    without parameters, it displays the groupnames on the server.
  254.  
  255.    groupname        Is the name of the group to add, expand, or delete. 
  256.                     Supply only a groupname to view a list of users 
  257.                     in a group. 
  258.    /COMMENT:"text"  Adds a comment for a new or existing group. 
  259.                     Enclose the text in quotation marks. 
  260.    /DOMAIN          Performs the operation on a domain controller
  261.                     of the current domain. Otherwise, the operation is 
  262.                     performed on the local computer. 
  263.    username[ ...]   Lists one or more usernames to add to or remove from 
  264.                     a group. Separate multiple username entries with a space. 
  265.    /ADD             Adds a group, or adds a username to a group. 
  266.    /DELETE          Removes a group, or removes a username from a group. 
  267.  
  268.    NET HELP command | MORE displays Help one screen at a time.
  269. $2        
  270.  
  271.    NET HELP GROUP describes the options for this command.
  272. .2   HELP
  273. :2      command 
  274.          -or-
  275.    NET command /HELP
  276. #2    Commands available are:
  277.  
  278.       NET ACCOUNTS             NET HELP              NET SHARE     
  279.       NET COMPUTER             NET HELPMSG           NET START     
  280.       NET CONFIG               NET LOCALGROUP        NET STATISTICS
  281.       NET CONFIG SERVER        NET NAME              NET STOP      
  282.       NET CONFIG WORKSTATION   NET PAUSE             NET TIME      
  283.       NET CONTINUE             NET PRINT             NET USE       
  284.       NET FILE                 NET SEND              NET USER      
  285.       NET GROUP                NET SESSION           NET VIEW      
  286.  
  287.       NET HELP SERVICES lists some of the services you can start.
  288.       NET HELP SYNTAX explains how to read NET HELP syntax lines.
  289.       NET HELP command | MORE displays Help one screen at a time.
  290. $2        
  291.  
  292.    NET HELP describes the options for this command.
  293. .2     HELPMSG
  294. :2             message#
  295. #2 NET HELPMSG displays information about Windows network messages 
  296.    (such as error, warning, and alert messages). When you type NET HELPMSG and
  297.    the numerical error (for example, "net helpmsg 2182"), Windows tells you
  298.    about the message and suggests actions you can take to solve the problem.
  299.  
  300.    message#  Is the numerical Windows error with which you need help.
  301. $2        
  302.  
  303.    NET HELP HELPMSG describes the options for this command.
  304. .2     LOCALGROUP
  305. :2               [groupname [/COMMENT:"text"]] [/DOMAIN]
  306.                  groupname {/ADD [/COMMENT:"text"] | /DELETE}  [/DOMAIN]
  307.                  groupname name [...] {/ADD | /DELETE} [/DOMAIN]
  308. #2 NET LOCALGROUP modifies local groups on computers. When used without 
  309.    options, it displays the local groups on the computer.
  310.  
  311.    groupname        Is the name of the local group to add, expand, or
  312.                     delete. Supply only a groupname to view a list of
  313.                     users or global groups in a local group.
  314.    /COMMENT:"text"  Adds a comment for a new or existing group. 
  315.                     Enclose the text in quotation marks. 
  316.    /DOMAIN          Performs the operation on the domain controller 
  317.                     of the current domain. Otherwise, the operation is 
  318.                     performed on the local workstation. 
  319.    name [ ...]      Lists one or more usernames or groupnames to add or to 
  320.                     remove from a local group. Separate multiple entries with 
  321.                     a space. Names may be users or global groups, but not 
  322.                     other local groups. If a user is from another domain, 
  323.                     preface the username with the domain name (for 
  324.                     example, SALES\RALPHR).
  325.    /ADD             Adds a groupname or username to a local group. An account 
  326.                     must be established for users or global groups added to a
  327.                     local group with this command.
  328.    /DELETE          Removes a groupname or username from a local group.
  329.  
  330.    NET HELP command | MORE displays Help one screen at a time.
  331. $2        
  332.  
  333.    NET HELP LOCALGROUP describes the options for this command.
  334. .2     NAME
  335. :2          [name [/ADD | /DELETE]]
  336. #2 NET NAME adds or deletes a messaging name (alias) at a computer. 
  337.    A messaging name is a name to which messages are sent. When used without 
  338.    options, NET NAME displays the names accepting messages at the computer.
  339.  
  340.    A computer's list of names comes from three places:
  341.  
  342.    þ  Message names, which are added with NET NAME
  343.  
  344.    þ  A computername, which is added as a name when the Workstation 
  345.       service is started. This name cannot be deleted.
  346.  
  347.    þ  A username, which is added as a name when you log on, if it 
  348.       is not being used at another computer. This name can be deleted.
  349.  
  350.    name      Specifies the name to receive messages. The name can have as 
  351.              many as 15 characters. 
  352.    /ADD      Adds a name to a computer. Typing /ADD is optional; typing 
  353.              NET NAME name works the same way as typing NET NAME name /ADD. 
  354.    /DELETE   Removes a name from a computer. 
  355.  
  356.    NET HELP command | MORE displays Help one screen at a time.
  357. $2        
  358.  
  359.    NET HELP NAME describes the options for this command.
  360. .2     PAUSE
  361. :2             service
  362.  
  363. #2 NET PAUSE suspends a Windows service or resource. Pausing a service
  364.    puts it on hold.
  365.  
  366.    service             Is the service to be paused.
  367.                        For example, one of the following:
  368.                        NET LOGON
  369.                        NT LM SECURITY SUPPORT PROVIDER
  370.                        SCHEDULE
  371.                        SERVER
  372.                        WORKSTATION
  373.  
  374.    NET HELP command | MORE displays Help one screen at a time.
  375. $2
  376.  
  377.    NET HELP PAUSE describes the options for this command.
  378. .2     PRINT
  379. :2             \\computername\sharename
  380.              [\\computername] job# [/HOLD | /RELEASE | /DELETE]
  381.  
  382. #2 NET PRINT displays print jobs and shared queues.
  383.    For each queue, the display lists jobs, showing the size 
  384.    and status of each job, and the status of the queue.
  385.  
  386.    \\computername           Is the name of the computer sharing the printer
  387.                             queue(s).
  388.    sharename                Is the name of the shared printer queue. 
  389.    job#                     Is the identification number assigned to a print
  390.                             job. A computer with one or more printer queues
  391.                             assigns each print job a unique number.
  392.    /HOLD                    Prevents a job in a queue from printing.
  393.                             The job stays in the printer queue, and other 
  394.                             jobs bypass it until it is released. 
  395.    /RELEASE                 Reactivates a job that is held.
  396.    /DELETE                  Removes a job from a queue.
  397.  
  398.    NET HELP command | MORE displays Help one screen at a time.
  399. $2
  400.  
  401.    NET HELP PRINT describes the options for this command.
  402. .2     SEND
  403. :2          {name | * | /DOMAIN[:name] | /USERS} message
  404.  
  405. #2 Sends messages to other users, computers, or messaging names 
  406.    on the network. The Messenger service must be running to receive messages.
  407.  
  408.    You can send a message only to a name that is active on the network.
  409.    If the message is sent to a username, that user must be logged on
  410.    and running the Messenger service to receive the message.
  411.  
  412.    name                   Is the username, computername, or messaging name 
  413.                           to send the message to. If the name is a 
  414.                           computername that contains blank characters, 
  415.                           enclose the alias in quotation marks (" "). 
  416.    *                      Sends the message to all the names in your group. 
  417.    /DOMAIN[:name]         Sends the message to all the names in the 
  418.                           workstation domain. If name is specified, the 
  419.                           message is sent to all the names in the specified 
  420.                           domain or workgroup. 
  421.    /USERS                 Sends the message to all users connected to 
  422.                           the server.
  423.    message                Is text to be sent as a message. 
  424.  
  425.    NET HELP command | MORE displays Help one screen at a time.
  426. $2        
  427.  
  428.    NET HELP SEND describes the options for this command.
  429. .2     SESSION
  430. :2             [\\computername] [/DELETE]
  431. #2 NET SESSION lists or disconnects sessions between the computer and other
  432.    computers on the network. When used without options, it displays information
  433.    about all sessions with the computer of current focus.
  434.  
  435.    This command works only on servers.
  436.  
  437.    \\computername  Lists the session information for the named computer.
  438.    /DELETE         Ends the session between the local computer and 
  439.                    computername, and closes all open files on the computer
  440.                    for the session. If computername is omitted, 
  441.                    all sessions are ended.
  442.  
  443.    NET HELP command | MORE displays Help one screen at a time.
  444. $2        
  445.  
  446.    NET HELP SESSION describes the options for this command.
  447. .2     SHARE
  448. :2           sharename
  449.              sharename=drive:path [/GRANT:user,[READ | CHANGE | FULL]]
  450.                                   [/USERS:number | /UNLIMITED]
  451.                                   [/REMARK:"text"]
  452.                                   [/CACHE:Manual | Documents| Programs | None ]
  453.              sharename [/USERS:number | /UNLIMITED]
  454.                        [/REMARK:"text"]
  455.                        [/CACHE:Manual | Documents | Programs | None]
  456.              {sharename | devicename | drive:path} /DELETE
  457. #2 NET SHARE makes a server's resources available to network users. When 
  458.    used without options, it lists information about all resources being 
  459.    shared on the computer. For each resource, Windows reports the
  460.    devicename(s) or pathname(s) and a descriptive comment associated with it.
  461.  
  462.    sharename          Is the network name of the shared resource. Type 
  463.                       NET SHARE with a sharename only to display information 
  464.                       about that share. 
  465.    drive:path         Specifies the absolute path of the directory to 
  466.                       be shared. 
  467.    /GRANT:user,perm   Creates the share with a security descriptor that gives
  468.                       the requested permissions to the specified user.  This
  469.                       option may be used more than once to give share permissions
  470.                       to multiple users.
  471.    /USERS:number      Sets the maximum number of users who can 
  472.                       simultaneously access the shared resource. 
  473.    /UNLIMITED         Specifies an unlimited number of users can 
  474.                       simultaneously access the shared resource
  475.    /REMARK:"text"     Adds a descriptive comment about the resource. 
  476.                       Enclose the text in quotation marks.
  477.    devicename         Is one or more printers (LPT1: through LPT9:) 
  478.                       shared by sharename.
  479.    /DELETE            Stops sharing the resource.
  480.    /CACHE:Manual      Enables manual client caching of programs and documents
  481.                       from this share
  482.    /CACHE:Documents   Enables automatic caching of documents from this share
  483.    /CACHE:Programs    Enables automatic caching of documents and programs
  484.                       from this share
  485.    /CACHE:None        Disables caching from this share
  486.  
  487.    NET HELP command | MORE displays Help one screen at a time.
  488. $2        
  489.  
  490.    NET HELP SHARE describes the options for this command.
  491. .2     START
  492. .3           ALERTER
  493. :3
  494. #3 NET START ALERTER starts the Windows Alerter service on a server. 
  495.    The Alerter service sends messages about network information to users.
  496.  
  497. $3         
  498.    This command has no options.
  499. .3           BROWSER
  500. :3
  501. #3 NET START BROWSER starts the Browser service.  The Browser service
  502.    supports browsing computers on the network and being browsed by other
  503.    computers on the network. 
  504.  
  505.    NET HELP command | MORE displays Help one screen at a time.
  506. $3
  507.    This command has no options.
  508. .3           CLIPBOOK
  509. :3
  510. #3 NET START CLIPBOOK starts the Windows Clipbook service.
  511.    The Clipbook service supports cutting and pasting across
  512.    the network.
  513.  
  514.    NET HELP command | MORE displays Help one screen at a time.
  515. $3
  516.    This command has no options.
  517. .3           EVENTLOG
  518. :3
  519. #3 NET START EVENTLOG starts the event logging service, which logs events on
  520.    the local computer. This service must be started prior to using 
  521.    the Event Viewer to view the logged events.
  522.  
  523.    NET HELP command | MORE displays Help one screen at a time.
  524. $3        
  525.    This command has no options.
  526. .3           MESSENGER
  527. :3
  528. #3 NET START MESSENGER starts the Windows Messenger service, which
  529.    lets you receive messages from other network users. Typing this command
  530.    also starts the Workstation service if it is not already running. 
  531.  
  532.    NET HELP command | MORE displays Help one screen at a time.
  533. $3        
  534.    This command has no options.
  535. .3           NET
  536. .4               LOGON
  537. :4
  538. #4 NET START NET LOGON starts the Windows Net Logon service, which
  539.    verifies logon requests and controls replication of the user 
  540.    accounts database. Service names with two words, such as 
  541.    Net Logon, must be enclosed in quotation marks (") when typed
  542.    at the command prompt. This service can also be started by typing
  543.    NET START NETLOGON.
  544.  
  545.    NET HELP command | MORE displays Help one screen at a time.
  546. $4
  547.    This command has no options.
  548. :3
  549. #3
  550. $3
  551.  
  552.    NET HELP START NET LOGON describes this command. It has no options.
  553.  
  554. .3           RPCLOCATOR
  555. :3
  556. #3 NET START RPCLOCATOR Starts the RPC Locator service. The Locator service 
  557.    is the RPC name service for Windows. 
  558.  
  559.    NET HELP command | MORE displays Help one screen at a time.
  560. $3        
  561.    This command has no options.
  562.  
  563. .3           RPCSS
  564. :3
  565. #3 NET START RPCSS starts the Windows RPCSS service.
  566.  
  567.    NET HELP command | MORE displays Help one screen at a time.
  568. $3        
  569.    This command has no options.
  570.  
  571. .3           SCHEDULE
  572. :3
  573. #3 NET START SCHEDULE starts the Windows Schedule service. 
  574.    The Schedule service must be running to schedule events using
  575.    the Schduled Tasks folder or the AT command.
  576.  
  577.    NET HELP command | MORE displays Help one screen at a time.
  578. $3        
  579.    This command has no options.
  580.  
  581. .3           SERVER
  582. :3
  583. #3 NET START SERVER starts the Windows Server service, which controls
  584.    access to resources.
  585.  
  586.    NET HELP command | MORE displays Help one screen at a time.
  587. $3        
  588.    This command has no options.
  589.  
  590. .3           UPS
  591. :3
  592. #3 NET START UPS starts the Windows UPS service, which
  593.    provides uninterrupted power service to your computer. The UPS service
  594.    must be configured before starting. 
  595.  
  596.    NET HELP command | MORE displays Help one screen at a time.
  597. $3        
  598.    This command has no options.
  599.  
  600. .3           WORKSTATION
  601. :3
  602. #3 NET START WORKSTATION starts the Windows Workstation service, which
  603.    enables your computer to use shared resources on the network. 
  604.  
  605.    NET HELP command | MORE displays Help one screen at a time.
  606. $3        
  607.    This command has no options.
  608.  
  609. :2           [service]
  610. #2 NET START lists running services. 
  611.  
  612.    service   May include one of the following services:
  613.       ALERTER                      
  614.       BROWSER             
  615.       CLIENT SERVICE FOR NETWARE  
  616.       CLIPBOOK              
  617.       DHCP CLIENT
  618.       EVENTLOG                     
  619.       FILE REPLICATION
  620.       MESSENGER                    
  621.       NET LOGON                    
  622.       NT LM SECURITY SUPPORT PROVIDER
  623.       PLUG AND PLAY
  624.       REMOTE ACCESS CONNECTION MANAGER
  625.       ROUTING AND REMOTE ACCESS
  626.       RPCLOCATOR
  627.       RPCSS
  628.       SCHEDULE
  629.       SERVER
  630.       SPOOLER
  631.       TCP/IP NETBIOS HELPER SERVICE
  632.       UPS
  633.       WORKSTATION
  634.  
  635.    When typed at the command prompt, service names of two words or more must 
  636.    be enclosed in quotation marks. For example, NET START "NET LOGON"
  637.    starts the net logon service.
  638.  
  639.    NET START can also start services not provided with Windows.
  640.  
  641.    NET HELP command | MORE displays Help one screen at a time.
  642. $2        
  643.  
  644.    NET HELP START describes the options for this command.
  645. .2     STATISTICS
  646. :2                [WORKSTATION | SERVER] 
  647. #2 NET STATISTICS displays the statistics log for the local Workstation or
  648.    Server service. Used without parameters, NET STATISTICS displays 
  649.    the services for which statistics are available.
  650.  
  651.    SERVER       Displays the Server service statistics.
  652.    WORKSTATION  Displays the Workstation service statistics.
  653.  
  654.    NET HELP command | MORE displays Help one screen at a time.
  655. $2        
  656.  
  657.    NET HELP STATISTICS describes the options for this command.
  658. .2     STOP
  659. :2          service
  660. #2 NET STOP stops Windows services.
  661.  
  662.    Stopping a service cancels any network connections the service is 
  663.    using. Also, some services are dependent on others. Stopping one
  664.    service can stop others.
  665.  
  666.    Some services cannot be stopped.
  667.  
  668.    service   May be one of the following services:
  669.       ALERTER                      
  670.       BROWSER         
  671.       CLIENT SERVICE FOR NETWARE    
  672.       CLIPBOOK               
  673.       DHCP CLIENT         
  674.       FILE REPLICATION
  675.       MESSENGER                    
  676.       NET LOGON                    
  677.       NT LM SECURITY SUPPORT PROVIDER
  678.       REMOTE ACCESS CONNECTION MANAGER
  679.       ROUTING AND REMOTE ACCESS
  680.       RPCLOCATOR
  681.       SCHEDULE
  682.       SERVER
  683.       SPOOLER
  684.       TCP/IP NETBIOS HELPER SERVICE
  685.       UPS
  686.       WORKSTATION
  687.  
  688.    NET STOP can also stop services not provided with Windows.
  689.  
  690.    NET HELP command | MORE displays Help one screen at a time.
  691. $2        
  692.  
  693.    NET HELP STOP describes the options for this command.
  694. .2     TIME
  695. :2          [\\computername | /DOMAIN[:domainname] | /RTSDOMAIN[:domainname]] [/SET]
  696.             [\\computername] /QUERYSNTP
  697.             [\\computername] /SETSNTP[:ntp server list]
  698. #2 NET TIME synchronizes the computer's clock with that of another computer
  699.    or domain, or displays the time for a computer or domain. When used without
  700.    options on a Windows Server domain, it displays the current 
  701.    date and time at the computer designated as the time server for the domain.
  702.    This command allows setting the NTP timeserver for computername.
  703.  
  704.    \\computername  Is the name of the computer you want to check or
  705.                    synchronize with.
  706.  
  707.    /DOMAIN[:domainname]  Specifies to synchronize the time from the Primary Domain
  708.                          Controller of domainname.
  709.  
  710.    /RTSDOMAIN[:domainname]  Specifies to synchronize with a Reliable Time Server
  711.                             from domainname.
  712.  
  713.    /SET            Synchronizes the computer's time with the time
  714.                    on the specified computer or domain.
  715.    /QUERYSNTP      Displays the currently configured NTP server for this computer
  716.    /SETSNTP[:ntp server list]
  717.                    Sets the NTP time servers to be used by this computer.  This
  718.                    may be a list of IP addresses or DNS names separated by spaces.
  719.                    If multiple timeservers are listed, the list must be surrounded
  720.                    by quotes.
  721.  
  722.    NET HELP command | MORE displays Help one screen at a time.
  723. $2        
  724.  
  725.    NET HELP TIME describes the options for this command.
  726. .2     USE
  727. :2         [devicename | *] [\\computername\sharename[\volume] [password | *]]
  728.            [/USER:[domainname\]username]
  729.            [/USER:[dotted domain name\]username]   
  730.            [/USER:[username@dotted domain name]      
  731.            [/SMARTCARD]
  732.            [/SAVECRED]
  733.            [[/DELETE] | [/PERSISTENT:{YES | NO}]]
  734.  
  735.    NET USE {devicename | *} [password | *] /HOME
  736.  
  737.    NET USE [/PERSISTENT:{YES | NO}]
  738.  
  739. #2 NET USE connects a computer to a shared resource or disconnects a 
  740.    computer from a shared resource. When used without options, it lists 
  741.    the computer's connections.
  742.  
  743.    devicename       Assigns a name to connect to the resource or specifies 
  744.                     the device to be disconnected. There are two kinds of 
  745.                     devicenames: disk drives (D: through Z:) and printers 
  746.                     (LPT1: through LPT3:). Type an asterisk instead of a 
  747.                     specific devicename to assign the next available
  748.                     devicename.
  749.    \\computername   Is the name of the computer controlling the shared 
  750.                     resource. If the computername contains blank characters, 
  751.                     enclose the double backslash (\\) and the computername 
  752.                     in quotation marks (" "). The computername may be from 
  753.                     1 to 15 characters long. 
  754.    \sharename       Is the network name of the shared resource. 
  755.    \volume          Specifies a NetWare volume on the server. You must have
  756.                     Client Services for Netware (Windows Workstations)
  757.                     or Gateway Service for Netware (Windows Server) 
  758.                     installed and running to connect to NetWare servers.
  759.    password         Is the password needed to access the shared resource. 
  760.    *                Produces a prompt for the password. The password is 
  761.                     not displayed when you type it at the password prompt. 
  762.    /USER            Specifies a different username with which the connection
  763.                     is made. 
  764.    domainname       Specifies another domain. If domain is omitted,
  765.                     the current logged on domain is used.
  766.    username         Specifies the username with which to logon.
  767.    /SMARTCARD       Specifies that the connection is to use credentials on
  768.                     a smart card.
  769.    /SAVECRED        Specifies that the username and password are to be saved.
  770.                     This switch is ignored unless the command prompts for username
  771.                     and password.  This option is not available on Windows XP
  772.                     Home Edition and will be ignored.
  773.    /HOME            Connects a user to their home directory.
  774.    /DELETE          Cancels a network connection and removes the connection
  775.                     from the list of persistent connections. 
  776.    /PERSISTENT      Controls the use of persistent network connections. 
  777.                     The default is the setting used last. 
  778.    YES              Saves connections as they are made, and restores
  779.                     them at next logon. 
  780.    NO               Does not save the connection being made or subsequent 
  781.                     connections; existing connections will be restored at 
  782.                     next logon. Use the /DELETE switch to remove 
  783.                     persistent connections.
  784.    NET HELP command | MORE displays Help one screen at a time.
  785. $2        
  786.  
  787.    NET HELP USE describes the options for this command.
  788. .2     USER
  789. :2          [username [password | *] [options]] [/DOMAIN]
  790.             username {password | *} /ADD [options] [/DOMAIN]
  791.             username [/DELETE] [/DOMAIN]
  792. #2 NET USER creates and modifies user accounts on computers. When used
  793.    without switches, it lists the user accounts for the computer. The 
  794.    user account information is stored in the user accounts database.
  795.  
  796.    username     Is the name of the user account to add, delete, modify, or 
  797.                 view. The name of the user account can have as many as 
  798.                 20 characters. 
  799.    password     Assigns or changes a password for the user's account. 
  800.                 A password must satisfy the minimum length set with the 
  801.                 /MINPWLEN option of the NET ACCOUNTS command. It can have as 
  802.                 many as 14 characters. 
  803.    *            Produces a prompt for the password. The password is not 
  804.                 displayed when you type it at a password prompt. 
  805.    /DOMAIN      Performs the operation on a domain controller of 
  806.                 the current domain. 
  807.    /ADD         Adds a user account to the user accounts database. 
  808.    /DELETE      Removes a user account from the user accounts database. 
  809.  
  810.    Options      Are as follows:
  811.  
  812.       Options                    Description
  813.       --------------------------------------------------------------------
  814.       /ACTIVE:{YES | NO}         Activates or deactivates the account. If 
  815.                                  the account is not active, the user cannot
  816.                                  access the server. The default is YES.
  817.       /COMMENT:"text"            Provides a descriptive comment about the
  818.                                  user's account.  Enclose the text in
  819.                                  quotation marks. 
  820.       /COUNTRYCODE:nnn           Uses the operating system country code to
  821.                                  implement the specified language files for a
  822.                                  user's help and error messages. A value of
  823.                                  0 signifies the default country code. 
  824.       /EXPIRES:{date | NEVER}    Causes the account to expire if date is
  825.                                  set. NEVER sets no time limit on the
  826.                                  account. An expiration date is in the
  827.                                  form mm/dd/yy(yy). Months can be a number,
  828.                                  spelled out, or abbreviated with three
  829.                                  letters. Year can be two or four numbers.
  830.                                  Use slashes(/) (no spaces) to separate
  831.                                  parts of the date. 
  832.       /FULLNAME:"name"           Is a user's full name (rather than a 
  833.                                  username). Enclose the name in quotation
  834.                                  marks.
  835.       /HOMEDIR:pathname          Sets the path for the user's home directory. 
  836.                                  The path must exist.
  837.       /PASSWORDCHG:{YES | NO}    Specifies whether users can change their
  838.                                  own password. The default is YES.
  839.       /PASSWORDREQ:{YES | NO}    Specifies whether a user account must have
  840.                                  a password. The default is YES.
  841.       /PROFILEPATH[:path]        Sets a path for the user's logon profile.
  842.       /SCRIPTPATH:pathname       Is the location of the user's logon
  843.                                  script.
  844.       /TIMES:{times | ALL}       Is the logon hours. TIMES is expressed as
  845.                                  day[-day][,day[-day]],time[-time][,time
  846.                                  [-time]], limited to 1-hour increments.
  847.                                  Days can be spelled out or abbreviated.
  848.                                  Hours can be 12- or 24-hour notation. For
  849.                                  12-hour notation, use am, pm, a.m., or
  850.                                  p.m. ALL means a user can always log on,
  851.                                  and a blank value means a user can never 
  852.                                  log on. Separate day and time entries with 
  853.                                  a comma, and separate multiple day and time
  854.                                  entries with a semicolon.
  855.       /USERCOMMENT:"text"        Lets an administrator add or change the User 
  856.                                  Comment for the account. 
  857.       /WORKSTATIONS:{computername[,...] | *}
  858.                                  Lists as many as eight computers from
  859.                                  which a user can log on to the network. If 
  860.                                  /WORKSTATIONS has no list or if the list is *,
  861.                                  the user can log on from any computer.
  862.  
  863.    NET HELP command | MORE displays Help one screen at a time.
  864. $2        
  865.  
  866.    NET HELP USER describes the options for this command.
  867. .2     VIEW
  868. :2          [\\computername [/CACHE] | /DOMAIN[:domainname]]
  869.    NET VIEW /NETWORK:NW [\\computername]
  870. #2 NET VIEW displays a list of resources being shared on a computer. When used
  871.    without options, it displays a list of computers in the current domain or
  872.    network.
  873.  
  874.    \\computername             Is a computer whose shared resources you want 
  875.                               to view.
  876.    /DOMAIN:domainname         Specifies the domain for which you want to 
  877.                               view the available computers. If domainname is
  878.                               omitted, displays all domains in the local area
  879.                               network.
  880.    /NETWORK:NW                Displays all available servers on a NetWare 
  881.                               network. If a computername is  specified, the
  882.                               resources available on that computer in 
  883.                               the NetWare network will be displayed.
  884.    /CACHE                     Displays the offline client caching settings for
  885.                               the resources on the specified computer
  886. $2        
  887.  
  888.    NET HELP VIEW describes the options for this command.
  889. :1
  890. #1    
  891.  
  892.    The keyword NET specifies Windows commands.
  893.  
  894.    NET HELP command | MORE displays Help one screen at a time.
  895. .1 NAMES
  896. :1
  897.  
  898.    The following types of names are used with Windows:
  899.  
  900.    Messaging Name    A name to which messages can be sent. Each computer's
  901.                      computername and the username logged on at that
  902.                      comptuer are added to its list of names. Use the 
  903.                      NET NAME command to view a computer's names or to
  904.                      add new ones.
  905.  
  906.    Computername      A unique name that identifies a computer on
  907.                      the local-area network.
  908.  
  909.    Devicename        The name by which Windows identifies a disk resource 
  910.                      or printer. A disk resource is identified by a drive 
  911.                      letter followed by a colon (for example, D:). A 
  912.                      printer is identified by a port name followed by a colon
  913.                      (for example, LPT1:).
  914.  
  915.    Workgroup         A group of computers on the network. Each workgroup
  916.                      has a unique name. 
  917.  
  918.    Localgroup        A group of names in a Workgroup that are granted the 
  919.                      same rights.
  920.  
  921.    Domain            A group of Windows Servers, Windows Workstations
  922.                      and other computers on the network. A 
  923.                      domain has a unique name. Usually, you must log on in 
  924.                      a domain to gain access to the network. Domains are 
  925.                      created and managed with Windows Server.
  926.  
  927.    Global group      A group of names in a domain that are granted the
  928.                      same rights.
  929.  
  930.    Filename          The name of a file. Under the file allocation table 
  931.                      (FAT) file system, a filename can have as many as eight
  932.                      characters, followed by a period (.) and an extension of
  933.                      as many as three characters. Under NTFS and HPFS, a 
  934.                      filename can have as many as 254 characters. 
  935.  
  936.    Network path      A description of the location of a shared resource, 
  937.                      consisting of a computer's computername followed by 
  938.                      the sharename of the resource. The computername 
  939.                      is preceded by two backslashes, and the sharename is 
  940.                      preceded by one backslash (for example, 
  941.                      \\SERVER1\RESOURCE).
  942.  
  943.    Path              The location of a directory. A path can consist of a 
  944.                      devicename and one or more directory names. A 
  945.                      backslash (\) precedes each directory name (for example,
  946.                      C:\CUSTOMER\CORP\ACCT).
  947.  
  948.    Pathname          A path and a filename. The filename is preceded by a 
  949.                      backslash (\) (for example, C:\CUSTOMER\CORP\REPORT.DOC).
  950.  
  951.    Sharename         A name that identifies a shared resource on a computer. A
  952.                      sharename is used with the computer's computername to form 
  953.                      a network path (as in \\SERVER\RESOURCE).
  954.  
  955.    Username          The name a person supplies when logging on at 
  956.                      a computer.
  957.  
  958.    To view these definitions one screen at a time, type NET HELP NAMES | MORE.
  959. #1
  960. $1 There are no options for this topic. This is a help topic about the
  961.    different types of names Windows uses. It is not a NET command.
  962.  
  963. :0
  964. #0
  965. /*
  966.     This is how this file works. NET HELP looks for a match between the command
  967.     specified at run time and one of the entries in this file. For each entry
  968.     in this file there can be associated with it a subentry, which constitutes
  969.     an switch for that command (or sub-command). HELP (NET HELP) first searches
  970.     for a match at level 1. If it finds a match at this level it continues
  971.     searching for a sub-level (if one was specified at run time). As HELP
  972.     finds matches it displays them , by doing so it builds the command
  973.     in its proper syntax. If no sub commands were entered at run time HELP
  974.     stops and displays the help associated with that level.
  975.  
  976.     SOME RULES:
  977.       Operators are the funny 2 character symbols that start every line -
  978.       they are the characters !, %, ., :, and # followed by a alphanumeric
  979.       character.
  980.  
  981.       Every operator must start in column 1.
  982.  
  983.       Every operator must be separated from the info that follows it by at
  984.       least one space.
  985.  
  986.       The end of every line must contain a newline. (Trailing spaces will
  987.       causes matches to fail on ".X" entries.)
  988.  
  989.       Every ".1" entry MUST have a corresponding "#1" entry.
  990.  
  991.  
  992.     This file consists of 4 sections. These sections are ...
  993.  
  994.      COMMENTS are delimited by a "/*" at the beginning of a line (must
  995.          start in column 1) indicating the beginning of the comment section.
  996.          A "*/" at the beginning of a line marks the end of the comment sec-
  997.          tion. Only two comment section are allowed, one at the very be-
  998.          ginning of the file and one at the very end. It is recommended that
  999.          the comment section at the beginning of the file be kept very
  1000.          small to minimize access time to "help data" by the help command.
  1001.  
  1002.      ALIASES are defined by a "%A" beginning in column 1. Aliases allow
  1003.          you to define another name for a given command. For example if
  1004.          you wish to change the name of the "ALERTER" to "WATCHDOG"
  1005.          you could do so by entering the line,
  1006.  
  1007.                 %A ALERTER: WATCHDOG
  1008.  
  1009.          starting at column 1. If there are additional Aliases they should
  1010.          be specified on the same line separated by commas. This tells the
  1011.          help command that if someone types "net help watchdog" they really
  1012.          mean "net help alerter."  Trailing spaces are significant (for this
  1013.          release) in alias names. Beware!ഀ
  1014.  
  1015.      COMMANDS are additional commands that you want NET HELP to document.
  1016.          They are defined by placing !C operator (yes starting in column
  1017.          1) followed by the command name on a separate line.
  1018.          An example of this is the AT commands. This
  1019.          is not really NET commands but you can get help on it through
  1020.          NET by entering it with the COMMANDS section in this file. For
  1021.          example if you want to get help on your PHONE command that you wrote
  1022.          and the only help utility you have is the NET HELP utility. To
  1023.          add phone to this utility you must place the following line in the
  1024.          Commands section of this file,
  1025.  
  1026.                !C PHONE
  1027.  
  1028.          starting in column 1. Now all that remains is to add the PHONE
  1029.          help data to the DATA section of this file. (See DATA below)
  1030.          (YES, you can assign aliases to commands that you declare in this
  1031.          section. But you must assign the aliases in the alias section
  1032.          first.)
  1033.  
  1034.      DATA is the actual text that gets printed when you request help.
  1035.          The format for the data section is set up in a way such that
  1036.          the NET HELP command picks up information about a command as it
  1037.          reads through this file. The format of the data section is as
  1038.          follows;
  1039.  
  1040.          The Command Name (this is the proper name used to reference a
  1041.          specific command - any other name used to access this command should
  1042.          be entered in the alias list above) should be preceded by a
  1043.          ".1". This defines that this Command Name would normally be the
  1044.          first thing typed when entering the command. An example of a ".1"
  1045.          Command Name would be NET. When HELP finds this entry, it knows
  1046.          what follows pertains to the NET command. What follows this ".1"
  1047.          entry can be one of 2 possible fields. The syntax operator ":1" or
  1048.          a sub switch operator ".2".
  1049.  
  1050.               Another option of the NET command could follow. If, as it
  1051.          does, the NET command has many options that can be specified, they
  1052.          should be enumerated on separate lines.  Each level of help for a
  1053.          specific command constitutes a higher "dot number". I think an
  1054.          example would make this clearer. Lets look at a help entry for the
  1055.          NET START command. The NET START command has additional options.
  1056.          NET START [SERVER WORKSTATION ALERTER ...etc]. In this example NET
  1057.          is the ".1" entry, START is a ".2" entry and SERVER, WKSTA, and
  1058.          ALERTER are all ".3" entries.
  1059.  
  1060.          .1     NET
  1061.          .2         START
  1062.          .3          SERVER
  1063.          .3          ALERTER
  1064.          .3          WORKSTATION
  1065.  
  1066.          In the example above I indented each level, this helps you
  1067.          visualize what's going on and is legal to do as long as the
  1068.          .X starts in column 1.
  1069.  
  1070.          This is all fine and well but what about the help for NET
  1071.          START SERVER. As stated before HELP allows two levels of
  1072.          assistance , Syntax and Help. You may choose to have the help
  1073.          be the same for all NET START options but obviously want
  1074.          different syntax displayed for each option. In order to do
  1075.          this you must place the help for any option (or sub-option)
  1076.          in the file prior to the help for the actual command. Sticking
  1077.          with our original example, lets assume that the SERVER and
  1078.          the WORKSTATION have enough in common that they want to share
  1079.          the same help message, but the alerter has some different
  1080.          information. We can accomplish this by specifying syntax, but
  1081.          no help for the SERVER and WORKSTATION options and specifying
  1082.          both for the ALERTER.
  1083.  
  1084.          .1     NET
  1085.          .2         START
  1086.          .3          SERVER
  1087. (Syntax)    :3              /Security /Autodisconnect ...etc
  1088.          .3          ALERTER
  1089. (Syntax)    :3
  1090. (Help)         #3              The alerter is the service that bla bla bla...etc
  1091.          .3          WORKSTATION
  1092.  
  1093. (Syntax)    :3              /Computername /Chartime ...etc
  1094. (Syntax)    :2
  1095. (Help)         #2          This is the help for NET START bla ... etc
  1096.  
  1097.           In the example above you will note a couple of things.
  1098.          First, I introduced two new operators ":" and "#". As indicated by
  1099.          the parentheses the ":" operator defines syntax data and "#"
  1100.          defines help data. Secondly, you may have noticed there were no
  1101.          syntax entries for the NET START ALERTER or NET START. In the
  1102.          case of NET START ALERTER, there may be no more syntax to be
  1103.          specified, since HELP generates the syntax as it reads the entries.
  1104.          In the case of NET START, leaving the syntax field blank, tells
  1105.          HELP to generate an option lists for the START command from the
  1106.          .3 entries found contained in the START section. If however,
  1107.          syntax information would have been placed there, HELP would have
  1108.          displayed the supplied information.
  1109.  
  1110.           This behavior can be expanded to 8 levels of sub-options.
  1111.          All level 1 (".1") entries must have a help ("#1") entry. The end
  1112.          of the data section must be marked by the following lines,
  1113.  
  1114.          :0
  1115.          #0
  1116.  
  1117.          beginning in column 1. There can be no more than 512 characters in
  1118.          the option field including the spaces between the options and the
  1119.          brackets. White space following the ".X" operators is ignored, white
  1120.          space following the ":X" and "#X" operators is printed exactly as
  1121.          entered. If data is entered on the next line following the syntax or
  1122.          help operators it is printed as entered, except that the first three
  1123.          columns are always ignored.
  1124.  
  1125. */
  1126.  
  1127.